package com.ll.blog.service.impl;

import com.ll.blog.entity.SensitiveWord;
import com.ll.blog.mapper.SensitiveWordMapper;
import com.ll.blog.service.ISensitiveWordService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 作者
 * @since 2024-03-08
 */
@Service
public class SensitiveWordServiceImpl extends ServiceImpl<SensitiveWordMapper, SensitiveWord> implements ISensitiveWordService {
    @Resource
    SensitiveWordMapper wordMapper;
    @Override
    public List<String> getAll(){
        return wordMapper.getAll();
    }

}
